package com.tl.domain;


public class Ball {

	private String time;
	//红球
	public String[] hq = new String[6];
	//篮球
	private String lq;
	private String year;
	//批次
	private Integer batch;
	
	public Integer getBatch() {
		return batch;
	}
	public void setBatch(Integer batch) {
		this.batch = batch;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getHq() {
		String str = "";
		for(String s: hq){
			str += s+" ";
		}
		return str;
	}
	
	public void setHq(String[] hq) {
		this.hq = hq;
	}
	public String getLq() {
		return lq;
	}
	public void setLq(String lq) {
		this.lq = lq;
	}
	
	@Override
	public String toString() {
		return "年份:"+this.getYear()+"  期号："+this.getTime()+"   红球:"+this.getHq().toString()+"    篮球："+this.getLq();
	}

}
